/*
 * @Descripttion: 
 * @version: 
 * @Author: TT
 * @Date: 2023-09-07 10:37:50
 * @LastEditors: TT-hzy
 * @LastEditTime: 2024-07-26 15:47:32
 */
import 'package:flutter/material.dart';
import 'package:hzy_normal_tool/hzy_normal_tool.dart';

// class NormalThemeConfig {
//   /// 0 亮色
//   /// 1 暗色
//   /// 2 跟随系统
//   static const int normlThemeType = 1;
// }
const int normlThemeType = 1;

/// 亮色主题
ThemeData hzyThemeDataLight = ThemeData(
  brightness: Brightness.light,

  // scaffoldBackgroundColor: HzyNormalColorS.colf4f5f9,

  /// 点击水波纹动画效果
  /// 这里我们把水波纹动画去掉
  splashFactory: NoSplash.splashFactory,

  /// 水波纹颜色
  splashColor: Colors.white.withOpacity(0),

  appBarTheme: const AppBarTheme(
    backgroundColor: HzyNormalColorS.colffffff,
    iconTheme: IconThemeData(
      color: HzyNormalColorS.col000000,
    ),
  ),
);

/// 暗黑主题
ThemeData hzyThemeDataDark = ThemeData(
  brightness: Brightness.dark,

  /// 点击水波纹动画效果
  /// 这里我们把水波纹动画去掉
  splashFactory: NoSplash.splashFactory,
  appBarTheme: const AppBarTheme(
    backgroundColor: Color.fromRGBO(27, 27, 27, 1),
    iconTheme: IconThemeData(
      color: HzyNormalColorS.colffffff,
    ),
  ),

  // scaffoldBackgroundColor: HzyNormalColorS.col0e0e0e,

  /// 水波纹颜色
  splashColor: Colors.white.withOpacity(0),
);
